#ifndef CAN_BUS_DEV_H
#define CAN_BUS_DEV_H

#include <QObject>
#include <QCanBus>
#include <QCanBusDevice>

class can_bus_dev : public QObject
{
    Q_OBJECT
private:
    QCanBusDevice *canDevice = nullptr;     //CAN设备
    bool is_dev_crea = false;

public:
    explicit can_bus_dev(QObject *parent = nullptr);
    explicit can_bus_dev(const QString &plugin, const QString &interfaceName, QString *errorMessage = nullptr,QObject *parent = nullptr);

public:
    bool get_dev_crea_state(){return this->is_dev_crea;}

signals:

};

#endif // CAN_BUS_DEV_H
